package com.strato.queue.v1_0_0.jdbc.dao.mapper;

import com.strato.orm.mybatis.v1_0_0.annotation.MybatisMapper;
import com.strato.queue.v1_0_0.jdbc.model.QueueMessage;
import com.strato.queue.v1_0_0.jdbc.model.QueueMessageExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

@MybatisMapper
public interface QueueMessageMapper {
    int countByExample(QueueMessageExample example);

    int deleteByExample(QueueMessageExample example);

    int deleteByPrimaryKey(String queueMessageId);

    int insert(QueueMessage record);

    int insertSelective(QueueMessage record);

    List<QueueMessage> selectByExampleWithBLOBs(QueueMessageExample example);

    List<QueueMessage> selectByExample(QueueMessageExample example);

    QueueMessage selectByPrimaryKey(String queueMessageId);

    int updateByExampleSelective(@Param("record") QueueMessage record, @Param("example") QueueMessageExample example);

    int updateByExampleWithBLOBs(@Param("record") QueueMessage record, @Param("example") QueueMessageExample example);

    int updateByExample(@Param("record") QueueMessage record, @Param("example") QueueMessageExample example);

    int updateByPrimaryKeySelective(QueueMessage record);

    int updateByPrimaryKeyWithBLOBs(QueueMessage record);

    int updateByPrimaryKey(QueueMessage record);
}